.class Lcom/waiqin365/base/login/cz;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/base/login/c/g;

.field final synthetic b:Lcom/waiqin365/base/login/cx;


# direct methods
.method constructor <init>(Lcom/waiqin365/base/login/cx;Lcom/waiqin365/base/login/c/g;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/login/cz;->b:Lcom/waiqin365/base/login/cx;

    iput-object p2, p0, Lcom/waiqin365/base/login/cz;->a:Lcom/waiqin365/base/login/c/g;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/base/login/cz;->a:Lcom/waiqin365/base/login/c/g;

    iget-object v0, v0, Lcom/waiqin365/base/login/c/g;->o:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/login/cz;->a:Lcom/waiqin365/base/login/c/g;

    iget-object v0, v0, Lcom/waiqin365/base/login/c/g;->o:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/cz;->a:Lcom/waiqin365/base/login/c/g;

    iget-object v0, v0, Lcom/waiqin365/base/login/c/g;->o:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/c/g;

    iget-object v0, v0, Lcom/waiqin365/base/login/c/g;->o:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/cz;->a:Lcom/waiqin365/base/login/c/g;

    iget-object v0, v0, Lcom/waiqin365/base/login/c/g;->o:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/c/g;

    iget-object v1, p0, Lcom/waiqin365/base/login/cz;->b:Lcom/waiqin365/base/login/cx;

    invoke-static {v1}, Lcom/waiqin365/base/login/cx;->a(Lcom/waiqin365/base/login/cx;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/base/login/d/g;->a(Lcom/waiqin365/base/login/c/g;Landroid/content/Context;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/base/login/cz;->b:Lcom/waiqin365/base/login/cx;

    iget-object v1, v1, Lcom/waiqin365/base/login/cx;->b:Lcom/waiqin365/base/login/LoginShortcutActivity;

    const-class v2, Lcom/waiqin365/base/login/LoginSubMenuActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "menuone"

    iget-object v2, p0, Lcom/waiqin365/base/login/cz;->a:Lcom/waiqin365/base/login/c/g;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/base/login/cz;->b:Lcom/waiqin365/base/login/cx;

    iget-object v1, v1, Lcom/waiqin365/base/login/cx;->b:Lcom/waiqin365/base/login/LoginShortcutActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/login/LoginShortcutActivity;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/cz;->b:Lcom/waiqin365/base/login/cx;

    iget-object v0, v0, Lcom/waiqin365/base/login/cx;->b:Lcom/waiqin365/base/login/LoginShortcutActivity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/login/LoginShortcutActivity;->overridePendingTransition(II)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/base/login/cz;->a:Lcom/waiqin365/base/login/c/g;

    iget-object v1, p0, Lcom/waiqin365/base/login/cz;->b:Lcom/waiqin365/base/login/cx;

    invoke-static {v1}, Lcom/waiqin365/base/login/cx;->a(Lcom/waiqin365/base/login/cx;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/base/login/d/g;->a(Lcom/waiqin365/base/login/c/g;Landroid/content/Context;)V

    goto :goto_0
.end method
